package com.gitee.mybase.top.exception;

@SuppressWarnings("all")
public enum JwtCode implements BaseEnum<Integer, String>{
    AUTH_FAILD(401, "JWT认证失败"),
    TOKEN_EXPIRED(401, "令牌已过期"),
    GENERATE_FAILD(500, "JWT生成失败");

    private  Integer code;
    private  String value;

    @Override
    public Integer getCode() {
        return null;
    }

    @Override
    public String getValue() {
        return null;
    }

    private JwtCode (Integer code, String value){
        this.code = code;
        this.value = value;
    }
}
